<?php
/*
* Copyright (c) 2010 by Cediti
*
* You may distribute under the terms of either the GNU Lesser General
* Public License or the new BSD License, as specified in the README file.
*/
// created :	18 March 2010
// version :	18 March 2010

abstract class Cmis_Repository_Capability_Abstract implements Cmis_Repository_Capability_Interface
{
	protected $_key;
	protected $_value;

    public function __construct($key, $value)
    {
        $this->_key = $key;
        $this->_setvalue($value);
    }

    protected function _setValue($value)
    {
    	$this->_value = $value;
    	settype($this->_value, 'bool');
    }

    public function getKey()
    {
    	return $this->_key;
    }

    public function getValue()
    {
        return $this->_value;
    }
}

# EOF
